Integrand size = 23, antiderivative size = 27 \[ \int \frac {\sqrt {\sec (c+d x)}}{\sqrt {1+\sec (c+d x)}} \, dx=\frac {\sqrt {2} \text {arcsinh}\left (\frac {\tan (c+d x)}{1+\sec (c+d x)}\right )}{d} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {3892, 221} \[ \int \frac {\sqrt {\sec (c+d x)}}{\sqrt {1+\sec (c+d x)}} \, dx=\frac {\sqrt {2} \text {arcsinh}\left (\frac {\tan (c+d x)}{\sec (c+d x)+1}\right )}{d} \]
[In]
[Out]
Rule 221
Rule 3892
Rubi steps \begin{align*} \text {integral}& = -\frac {\sqrt {2} \text {Subst}\left (\int \frac {1}{\sqrt {1+x^2}} \, dx,x,-\frac {\tan (c+d x)}{1+\sec (c+d x)}\right )}{d} \\ & = \frac {\sqrt {2} \text {arcsinh}\left (\frac {\tan (c+d x)}{1+\sec (c+d x)}\right )}{d} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 40, normalized size of antiderivative = 1.48 \[ \int \frac {\sqrt {\sec (c+d x)}}{\sqrt {1+\sec (c+d x)}} \, dx=\frac {2 \text {arctanh}\left (\sin \left (\frac {1}{2} (c+d x)\right )\right ) \cos \left (\frac {1}{2} (c+d x)\right ) \sqrt {\frac {1}{1+\cos (c+d x)}}}{d} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(92\) vs. \(2(25)=50\).
Time = 1.29 (sec) , antiderivative size = 93, normalized size of antiderivative = 3.44
method | result | size |
default | \(-\frac {\sqrt {2}\, \sqrt {\sec \left (d x +c \right )}\, \sqrt {1+\sec \left (d x +c \right )}\, \arctan \left (\frac {\sin \left (d x +c \right ) \sqrt {2}}{2 \left (\cos \left (d x +c \right )+1\right ) \sqrt {-\frac {1}{\cos \left (d x +c \right )+1}}}\right ) \cos \left (d x +c \right )}{d \left (\cos \left (d x +c \right )+1\right ) \sqrt {-\frac {1}{\cos \left (d x +c \right )+1}}}\) | \(93\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 88 vs. \(2 (25) = 50\).
Time = 0.28 (sec) , antiderivative size = 88, normalized size of antiderivative = 3.26 \[ \int \frac {\sqrt {\sec (c+d x)}}{\sqrt {1+\sec (c+d x)}} \, dx=\frac {\sqrt {2} \log \left (\frac {2 \, \sqrt {2} \sqrt {\frac {\cos \left (d x + c\right ) + 1}{\cos \left (d x + c\right )}} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) - \cos \left (d x + c\right )^{2} + 2 \, \cos \left (d x + c\right ) + 3}{\cos \left (d x + c\right )^{2} + 2 \, \cos \left (d x + c\right ) + 1}\right )}{2 \, d} \]
[In]
[Out]
\[ \int \frac {\sqrt {\sec (c+d x)}}{\sqrt {1+\sec (c+d x)}} \, dx=\int \frac {\sqrt {\sec {\left (c + d x \right )}}}{\sqrt {\sec {\left (c + d x \right )} + 1}}\, dx \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 87 vs. \(2 (25) = 50\).
Time = 0.39 (sec) , antiderivative size = 87, normalized size of antiderivative = 3.22 \[ \int \frac {\sqrt {\sec (c+d x)}}{\sqrt {1+\sec (c+d x)}} \, dx=\frac {\sqrt {2} \log \left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + 2 \, \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right ) - \sqrt {2} \log \left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 2 \, \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )}{2 \, d} \]
[In]
[Out]
\[ \int \frac {\sqrt {\sec (c+d x)}}{\sqrt {1+\sec (c+d x)}} \, dx=\int { \frac {\sqrt {\sec \left (d x + c\right )}}{\sqrt {\sec \left (d x + c\right ) + 1}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {\sec (c+d x)}}{\sqrt {1+\sec (c+d x)}} \, dx=\int \frac {\sqrt {\frac {1}{\cos \left (c+d\,x\right )}}}{\sqrt {\frac {1}{\cos \left (c+d\,x\right )}+1}} \,d x \]
[In]
[Out]